
class Student {
    private String _name;
    private int _age;
    private boolean _sex;
    private double _score;
    public Student(String name,int age,boolean sex,double score )
    {
        _name=name;
        _age=age;
        _sex=sex;
        _score=score;
    }    
    public void show()
    {
        System.out.println("学生姓名: "+_name);
        System.out.println("学生年龄: "+_age);
        System.out.println("学生性别: "+_sex);
        System.out.println("学生分数: "+_score);
        System.out.println("********************");
    }
}
public class StudentDemo{
    public static void main(String[] avgs)
    {
        Student s1=new Student("张晓",18,true,89.5);
        Student s2=new Student("米杨",17,false,98);
        s1.show();
        s2.show();
    }
}
